using System;
using MEA.AE_Data;

namespace MEA.AE_BusinessLogic
{
	public class ServiceLayerProgressSetupEventArg : EventArgs
	{
		private string text;

		private FlashContainer flashContainer;

		public FlashContainer FlashContainer
		{
			get
			{
				return flashContainer;
			}
			set
			{
				if (value != null)
				{
					flashContainer = value;
				}
			}
		}

		public string Text
		{
			get
			{
				return text;
			}
			set
			{
				if (value != null && value != "")
				{
					text = value;
				}
			}
		}

		public ServiceLayerProgressSetupEventArg(string text, FlashContainer flashContainer)
		{
			this.text = text;
			this.flashContainer = flashContainer;
		}

		public ServiceLayerProgressSetupEventArg(string text)
		{
			this.text = text;
		}
	}
}
